<!-- 生成店铺信息 -->
<script type="text/html" id="shopInfoTmpId">
	<div class="shop_list">
		<%for(var i=0; i<shop_data.length; i++){%>
			<dl>
				<dt><a href="#"><img src= <%=shop_data[i].shop_ico%> ></a></dt>
				<dd>
					<div class="content">
						<h3><a href="#"><%=shop_data[i].shop_name%></a><b>店铺等级:</b><span></span><span></span><span></span><span></span><span></span><span></span></h3>
						<p>主营：<%=shop_data[i].main%></p>
						<p>地址：<%=shop_data[i].addr_detail%></p>
					</div>
					<div class="other">
							<p>先行赔付</p>
							<p>同城帮认证</p>
							<p>人气：22641次浏览</p>
					</div>
					<div class="goin">
						<a href="#">进入店铺</a>
					</div>
				</dd>	
			</dl>
		<%}%>
	</div>
</script>
<!-- 生成隐藏菜单列表 -->
<script type="text/html" id="ulShowList1">
	<%for(var i=0; i<result.length; i++){%>
		<div>
			<span><%=result[i].name%></span>
			<p>
				<%for(var j=0; j<result[i].list.length; j++){%>
					<a href="#"><%=result[i].list[j].name%></a>
				<%}%>
			</p>
		</div>
	<%}%>
</script>
<!-- 生成城市列表 -->
<script type="text/html" id="spellCityTmpId">

	<%for(var i=0 in result.citylist){%>
		<p class= "<%=i%>" >
			<%for(var j=0; j<result.citylist[i].length; j++){%>
				<a href="###" citywcold=<%=result.citylist[i][j].code%> class="qwer"><%=result.citylist[i][j].name%></a>

			<%}%>
		</p>
	<%}%>

	<%for(var i in result.hotcity){%>
		<p>
			<a href="###"><%=result.hotcity[i]%></a>
		</p>
		<p>
			<a href="###"><%=result.hotcity[i].name%></a>
		</p>
	<%}%>
</script>

<script type="text/html" id="spellCityTmpI">
	<span>热门</span>	
	<p>
		<%for(var i in result.hotcity){%>
			<a href="###" citywcold=<%=result.hotcity[i].code%>><%=result.hotcity[i].name%></a>
		<%}%>
	</p>
</script>


<!-- 生成热卖手机信息 -->
<script type="text/html" id="hotRecycleTmpId">
	<%for(var i=0; i<result.length; i++){%>
		<dl>
			<dt><a href="#"><img src= <%=result[i].img_url%> ></a></dt>
			<dd><a href="#"><%=result[i].model_alis%></a></dd>
		</dl>
	<%}%>
</script>


<ul>
    <%for(n in result){%>
        <li>
            <a href="###">%
                <p>
                    <img src=<%=data.result[n].img_url %> >
                </p>
                <div><%=data.result[n].model_alis%></div>
            </a>
        <li>

    <%}%>
</ul>
<!-- 生成二手精品良选信息 -->
<script type="text/html" id="usedTmpId">
	<%for(var i=0; i<result.length; i++){%>
		<dl>
			<dt><a href="#"><img src= <%=result[i].thum_img.old%> ></a></dt>
			<dd><a href="#"><%=result[i].brand_name%></a></dd>
			<dd><a href="#">￥<%=result[i].com_price%></a></dd>
		</dl>
	<%}%>
</script>

<script type="text/html" id="ulShowList2_p1">
	<p>
		<%for(var i=0; i<result.hot.length; i++){%>
			<a href="#"><%=result.hot[i].name%></a>
		<%}%>
	</p>
</script>
<script type="text/html" id="ulShowList2_p2">
	<p>
		<%for(var i=0; i<result.other.length; i++){%>
			<a href="#"><%=result.other[i].name%></a>
		<%}%>
	</p>
</script>
<script type="text/html" id="ulShowList3">
	<%for(var i=0; i<result.length; i++){%>
		<a href="#"><%=result[i].name%></a>
	<%}%>
</script>
<script type="text/html" id="ulShowList4">
	<%for(var i in result){%>
		<a href="#"><%=result[i]%></a>
	<%}%>
</script>